Skip to content

feat(toolchains): backport 20260325/20260414 Python toolchains for 1.9.1 (#3708)#3776

Open
kevinpark1217 wants to merge 4 commits into
bazel-contrib:release/1.9from
kevinpark1217:backport-toolchains-3708-release-1.9
Open

feat(toolchains): backport 20260325/20260414 Python toolchains for 1.9.1 (#3708)#3776
kevinpark1217 wants to merge 4 commits into
bazel-contrib:release/1.9from
kevinpark1217:backport-toolchains-3708-release-1.9

Conversation

@kevinpark1217
Copy link
Copy Markdown
Contributor

@kevinpark1217 kevinpark1217 commented May 14, 2026

Backports the Python toolchain bumps from #3708 to release/1.9 so the 1.9.x series can pick up the high-severity CVE fixes (CVE-2025-13836, CVE-2026-24049, CVE-2026-23949) described in #3773 without requiring a major-version migration. Companion to #3775. Adds MINOR_MAPPING entries for 3.10.20, 3.11.15, 3.12.13, 3.13.{12,13}, 3.14.{3,4}, 3.15.0a8 and a new 1.9.1 CHANGELOG.md section.

Before: release/1.9 ships 3.10.19 / 3.11.14 / 3.12.12 / 3.13.11 / 3.14.2 (same MINOR_MAPPING as release/2.0), vulnerable to the same CVE set.

After: release/1.9 ships the patched 20260325 / 20260414 archives. CHANGELOG gains a 1.9.1 section. Three pre-existing CI failures on release/1.9 that were blocking every PR are also resolved.

Commits (each a cherry-pick from main):

  • feat(toolchains): Add 3.10.20, 3.11.15, ... (#3708) — cherry-pick of 6dac0f6d. CHANGELOG.md conflict resolved by adding a new 1.9.1 section and discarding the inbound 2.0.0 block (doesn't belong on release/1.9). examples/wheel/ hunk kept verbatim because the new interpreters drop setuptools/pkg_resources.
  • fix(uv): drop powerpc64 support to fix latest version downloads (#3678)partial cherry-pick of 782ae91b; only the .github/workflows/mypy.yaml hunk applies on release/1.9 (uv/MODULE.bazel parts aren't applicable). Without this, jpetrucciani/mypy-check@master (now defaulting to mypy==2.1.0, Python ≥3.10) hard-fails the ci check on every PR against release/1.9. main and release/2.0 already run with this fix.
  • ci: update RBE toolchain version from ubuntu2204 to ubuntu2404 (#3778) — cherry-pick of 32527de8. RBE provider dropped ubuntu2204. MODULE.bazel conflict resolved by taking only the rules_cc 0.1.5 → 0.2.17 bump (skipping the unrelated package_metadata bazel_dep that's on main but not on release/1.9).
  • ci: soft fail for upcoming bazel job (#3651) — cherry-pick of 6c05d2d7. release/1.9's pinned rules_go 0.41.0 is incompatible with Bazel last_rc (missing the CcInfo symbol load from rules_cc), so the Default: Ubuntu, upcoming Bazel job hard-fails every PR. main and release/2.0 already mark this job advisory.

Fixes #3773.

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the Python toolchains by adding several new versions from the 20260325 and 20260414 releases, updating the MINOR_MAPPING, and refining the release info logic for freethreaded builds. Feedback includes correcting a missing comma and pluralization in the CHANGELOG.md, as well as improving the consistency of platform key ordering within the sha256 maps in python/versions.bzl.

Comment thread CHANGELOG.md Outdated
Comment thread python/versions.bzl
@kevinpark1217 kevinpark1217 force-pushed the backport-toolchains-3708-release-1.9 branch from 6f9c540 to baf6bd6 Compare May 14, 2026 13:45
kevinpark1217 added a commit to kevinpark1217/rules_python that referenced this pull request May 14, 2026
The toolchain bumps from bazel-contrib#3708 are being backported to release/2.0 and
release/1.9 as 2.0.2 and 1.9.1 respectively (bazel-contrib#3775, bazel-contrib#3776), so move the
bullets out of Unreleased and into dated patch sections to match what
will ship from those branches.

Refs bazel-contrib#3773.
…,4}, 3.15.0a8 (bazel-contrib#3708)

This updates the Python version mappings to include the latest released
versions.

(cherry picked from commit 6dac0f6)
@kevinpark1217 kevinpark1217 force-pushed the backport-toolchains-3708-release-1.9 branch 2 times, most recently from 4324592 to 7adf838 Compare May 18, 2026 10:32
aignas and others added 3 commits May 20, 2026 03:11
…l-contrib#3678)

Before this PR we would index all of the available binaries and it would
fail in the case if the `sha256` file is not found. It seems that this
is the case for the `powerpc64`. In order to work this around, we just
drop support for that particular platform.

Whilst at it, bump the uv version.

Fixes bazel-contrib#3676.

(cherry picked from commit 782ae91)

Note: partial cherry-pick — only the .github/workflows/mypy.yaml hunk
applies here. The uv and MODULE.bazel changes are not applicable to
release/1.9.
Upcoming RC builds may have regressions, so instead of blocking our CI
on their failures,
mark them as soft-fail. This way we can be aware of upcoming problems,
but not block
regular development.

(cherry picked from commit 6c05d2d)
@kevinpark1217 kevinpark1217 force-pushed the backport-toolchains-3708-release-1.9 branch from ae3ecb6 to 6809295 Compare May 19, 2026 18:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants